﻿using System;
using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace ServidorCommunications
{
    class Program
    {

        static void Main(string[] args)
        {
            IPAddress ipServidor = IPAddress.Parse(ConfigurationManager.AppSettings["IpServidor"]);
            int tcpPort = Int32.Parse(ConfigurationManager.AppSettings["PuertoTCPServidor"]);

            ConexionSockets conexionSockets = new ConexionSockets(ipServidor, tcpPort);
            conexionSockets.StartListening();
            Console.ReadLine();
        }
    }
}
